package nx.simple3d.data;

/**
 * This interface should be implemented to provide vertices and
 * vertexindices 
 * @author simon
 *
 */
public interface GeometryProvider {
  /**
   * @return A double array of vertices in interleaved format.
   */
  public double[] getVertices();
  
  /**
   * @return The an array of vertex indices for triangles on the
   * vertices array from getVertices(). The indices have to be
   * multiplied with 3 to get the first coordinate component of
   * the vertex array.
   */
  public int[] getIndicesVertices();
}
